<div style="width:100%;margin-left: 20px;">
<?php

for ($i = 0;$i <= sizeof($amis)-1;$i++){

    ?>

<div style="float:left;width:100%;height:20px"></div>

    <div style="float:left;border-width: 2px;border-color: #d9d9d9;border-style: solid;width:100%;text-align: center;">
     
<div style="float:left;width:76px;">

    <?php echo $html -> image($amis[$i]["Profil"]["avatar"],array(
        'width' => '75px',
        'height' => '75px',
    )); ?>

</div>
<div style="float:right;width:70%;">

    <script type="text/javascript" >
    setInterval("utilisateurOnline('<?php echo $amis[$i]["Utilisateur"]["pseudo"]; ?>')",1000);
    </script>

    <div>
        <div id="online_<?php echo $amis[$i]["Utilisateur"]["pseudo"]; ?>" style="font-size: 20px;font-family: Arial, Verdana, serif;"></div>
    </div>
    <div style="float:left;width:100%"><?php echo $html -> link($html->image('profil2.png'),'/utilisateurs/calepin/'.$amis[$i]["Ami"]["amis"],array('escape' => false)); ?></div>

</div>
    </div>
</div>





<?php

}





?>